<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html>
<html style="overflow-x:auto;overflow-y:auto;"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>收费标准</title>
    <meta name="author" content="http://his.com/">
    <meta name="renderer" content="webkit"><meta http-equiv="X-UA-Compatible" content="IE=8,IE=9,IE=10">
    <meta http-equiv="Expires" content="0"><meta http-equiv="Cache-Control" content="no-cache"><meta http-equiv="Cache-Control" content="no-store">
    <script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/hm.js.下载"></script><script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/jquery-1.8.3.min.js.下载" type="text/javascript"></script>
    <link href="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/bootstrap.min.css" type="text/css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/bootstrap.min.js.下载" type="text/javascript"></script>
    <link href="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/font-awesome.min.css" type="text/css" rel="stylesheet">
    <link href="/HIS/static/bootstrap/2.3.1/awesome/font-awesome-ie7.min.css" type="text/css" rel="stylesheet" /><![endif]-->
    <link href="/HIS/static/bootstrap/bsie/css/bootstrap-ie6.min.css" type="text/css" rel="stylesheet" />
    <script src="/HIS/static/bootstrap/bsie/js/bootstrap-ie.min.js" type="text/javascript"></script><![endif]-->
    <link href="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/select2.min.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/select2.min.js.下载" type="text/javascript"></script>
    <link href="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/jquery.validate.min.css" type="text/css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/jquery.validate.min.js.下载" type="text/javascript"></script>
    <link href="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/jbox.min.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/jquery.jBox-2.3.min.js.下载" type="text/javascript"></script>
    <script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/WdatePicker.js.下载" type="text/javascript"></script><link href="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/WdatePicker.css" rel="stylesheet" type="text/css">
    <script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/mustache.min.js.下载" type="text/javascript"></script>
    <link href="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/his.css" type="text/css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/outDepart/收费标准 - Powered By 众阳集团_files/his.js.下载" type="text/javascript"></script>
    <meta name="decorator" content="default">
</head>
<body><i id="btnMenu" class="icon-th-list" style="cursor:pointer;float:right;margin:10px;"></i><div id="menuContent"></div>

<ul class="nav nav-tabs">
    <li class="active"><a href="<%=basePath%>payStandard/show?currPage=1">收费标准列表</a></li>
</ul>
<form id="searchForm" class="breadcrumb form-search" action="<%=basePath%>payStandard/show" method="post">
    <input id="currPage" name="currPage" type="hidden" maxlength="50" class="input-mini" value="1" style="width: 150px">
    <input id="model" name="model" type="hidden" maxlength="50" class="input-mini" value="payStandard" style="width: 150px">
    <label>收费类型代码：</label>
    <input id="code" name="code" class="input-medium" type="text" value="" maxlength="50">
    &nbsp<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询">
</form>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
    <thead>
    <tr>
        <th>收费类型代码</th>
        <th>收费类型名称</th>
        <th>门诊收费标准</th>
        <th>住院收费标准</th>
        <th style="text-align: center">操作</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${payStandards }" var="payStandard">
        <tr>
            <td>${payStandard.code}</td>
            <td>${payStandard.name}</td>
            <td>${payStandard.mz}</td>
            <td>${payStandard.zy}</td>
            <td style="width: 60px; text-align: center">
                <a href="<%=basePath%>payStandard/toUpdate?id=${payStandard.id}">修改</a>
                <a href="<%=basePath%>payStandard/delete?id=${payStandard.id}">删除</a>
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>
<jsp:include page="../bottom.jsp"></jsp:include>
<script type="text/javascript">
    function findByPage(type) {
        var code = $("#code").val();
        var currPage = Number($("#currPage").val());
        var lastPage = Number($("#lastPage").val());
        if(type=='up') {
            if(currPage > 1) {
                currPage = currPage - 1;
            } else {
                currPage = 1;
            }
        } else if (type=='next') {
            if(lastPage > 1 && currPage < lastPage) {
                currPage = currPage + 1;
            } else {
                currPage = 1;
            }
        } else if (type=='last') {
            currPage = lastPage;
        } else if (type=='index') {
            currPage = 1;
        }
        window.location.href=<%=basePath%>"/makeRegister/show?code=" + encodeURI(encodeURI(code)) + "&currPage=" + currPage;
    }
    //<!-- 无框架时，左上角显示菜单图标按钮。
    if(!(self.frameElement && self.frameElement.tagName=="IFRAME")){
        $("body").prepend("<i id=\"btnMenu\" class=\"icon-th-list\" style=\"cursor:pointer;float:right;margin:10px;\"></i><div id=\"menuContent\"></div>");
        $("#btnMenu").click(function(){
            top.$.jBox('get:/HIS/a/sys/menu/treeselect;JSESSIONID=91bd04c0d5a24abcbe454dff5ab8a8bd', {title:'选择菜单', buttons:{'关闭':true}, width:300, height: 350, top:10});
        });
    }
</script>

</body></html>
